package com.hustmm.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 材料主对象 mm_material
 * 
 * @author WUDI
 * @date 2024-05-23
 */
public class MmMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 材料id */
    private String matId;

    /** 材料名称 */
    @Excel(name = "材料名称")
    private String matName;

    /** 材料编号 */
    private String matNo;

    /** 状态（1正常 0停用） */
    @Excel(name = "状态", readConverterExp = "1=正常,0=停用")
    private Long status;

    /** 删除标志 */
    private String delFlag;

    /** 动态数据 */
    private String cjson;

    /** 键值数据 */
    private String vjson;

    /** 材料大类 */
    private String matType;

    /** 辅助数据 属性名称集合 */
    private String properties;

    /** 辅助数据 属性值集合 */
    private String pvalues;

    /** 材料属性信息 */
    private List<MmMaterialProperties> mmMaterialPropertiesList;

    public void setMatId(String matId) 
    {
        this.matId = matId;
    }

    public String getMatId() 
    {
        return matId;
    }
    public void setMatName(String matName) 
    {
        this.matName = matName;
    }

    public String getMatName() 
    {
        return matName;
    }
    public void setMatNo(String matNo) 
    {
        this.matNo = matNo;
    }

    public String getMatNo() 
    {
        return matNo;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCjson(String cjson) 
    {
        this.cjson = cjson;
    }

    public String getCjson() 
    {
        return cjson;
    }
    public void setVjson(String vjson) 
    {
        this.vjson = vjson;
    }

    public String getVjson() 
    {
        return vjson;
    }
    public void setMatType(String matType) 
    {
        this.matType = matType;
    }

    public String getMatType() 
    {
        return matType;
    }

    public String getProperties() {
        return properties;
    }

    public void setProperties(String properties) {
        this.properties = properties;
    }

    public String getValues() {
        return pvalues;
    }

    public void setValues(String values) {
        this.pvalues = values;
    }

    public List<MmMaterialProperties> getMmMaterialPropertiesList()
    {
        return mmMaterialPropertiesList;
    }

    public void setMmMaterialPropertiesList(List<MmMaterialProperties> mmMaterialPropertiesList)
    {
        this.mmMaterialPropertiesList = mmMaterialPropertiesList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("matId", getMatId())
            .append("matName", getMatName())
            .append("matNo", getMatNo())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("cjson", getCjson())
            .append("vjson", getVjson())
            .append("matType", getMatType())
            .append("mmMaterialPropertiesList", getMmMaterialPropertiesList())
            .toString();
    }
}
